package com.plug.repository;

import com.plug.entity.PlugOperationRecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PlugOperationRecordMapper {
    int deleteByPrimaryKey(String id);

    int insert(PlugOperationRecord record);

    int insertSelective(PlugOperationRecord record);

    PlugOperationRecord selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(PlugOperationRecord record);

    int updateByPrimaryKey(PlugOperationRecord record);

    int findTotal();

    List<PlugOperationRecord> findAll(@Param("offset")int offset,@Param("limit")int limit);
}